package com.yonyou.pmclouds.comprehensiveacceptance.rmiitf;

import java.util.List;
import java.util.Map;

import com.yonyou.pmclouds.basecom.entity.PageObject;
import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.comprehensiveacceptance.entity.ComprehensiveAcceptanceVO;
import com.yonyou.pmclouds.comprehensiveacceptance.entity.AcceptStandardVOToNCC;

public interface ComprehensiveAcceptanceQuery {

    Map<Boolean, String> allowToAdd(String pkProject) throws BusinessException;

    ComprehensiveAcceptanceVO[] queryByProject(String pkProject) throws BusinessException;

    ComprehensiveAcceptanceVO queryOneByPk(String pkComprehensiveAcceptance) throws BusinessException;

    boolean queryRefByIds(String code, String[] ids) throws BusinessException;

    PageObject<Object> queryByCondition(String[] pkProject,String[] creators,String startDate,String endDate,
                                        int[] billStatus,int start,int size) throws BusinessException;

    Object checkToCommit(String pkProject) throws BusinessException;

    Map<String, Map<Boolean, String>> checkMakeBillByProjectIds(List<String> projectIdList) throws BusinessException;

    AcceptStandardVOToNCC getInspectionStandardToNCC(String pkProject) throws BusinessException;
}
